var a = 1;
var b = 2;
console.log(a+b);
function fn(m,n){
    console.log(m+n)
}

fn(a,b);